package com.andy.blog.admin.service;

import com.andy.blog.admin.dto.login.HomeInfoDTO;
import com.andy.blog.admin.dto.login.LoginDTO;

import java.util.Map;

/**
 * Created by andy on 2023-04-15 15:00
 */
public interface LoginBusService {

    /**
     * 登录
     */
    Map<String, String> login(LoginDTO loginDTO);

    /**
     * 获取首页数据
     */
    HomeInfoDTO getHome();
}
